package cn.ml.sboot11.service;

import cn.ml.sboot11.entity.Student;
import cn.ml.sboot11.entity.StudentExample;

import java.text.ParseException;
import java.util.List;

public interface StudentService {
    Student selectOne(int id);
    List<Student> list2(StudentExample example);
    void delete(int id);
    void delete(StudentExample example);
    void save(Student student);
    void update(Student student);
    long count(int id);

    void countDown() throws ParseException, InterruptedException;

}
